package com.zatech.cgnci.project.service;

import com.zatech.cgnci.project.dto.CgnciClaimAlertInfoDTO;
import com.zatech.cgnci.project.entity.CgnciClaimAlertInfoDO;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zatech.cgnci.project.vo.CgnciClaimAlertInfoVO;

import java.util.List;

/**
 * <p>
 * 风险信息消息提示 服务类
 * </p>
 *
 * @author Generator
 * @since 2024-12-23
 */
public interface CgnciClaimAlertInfoService extends IService<CgnciClaimAlertInfoDO> {
    List<CgnciClaimAlertInfoVO> getByBusinessNo(String businessNo, String businessScene);

    void insertAlertInfo(CgnciClaimAlertInfoDO alertInfoDO);

    void insertAlertInfoList(List<CgnciClaimAlertInfoDO> alertInfoList);

    void clearBeforeInsert(List<CgnciClaimAlertInfoDO> alertInfoList);
    //提交审核时如果之前记录有提示信息或者风险信息需清空
    void clearAlertInfoByBusinessNo(String businessNo,String businessScene);

    void clearHistoryAndSave(CgnciClaimAlertInfoDO alertInfoDO);
}
